package com.wh.influxdb.measurement;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;
import lombok.Data;

import java.time.Instant;
import java.time.LocalDateTime;

/**
 * @Author: xu
 * @Date: 2025/1/14
 * @Description: 应力监测
 **/
@Data
@Measurement(name = "stress")
public class Stress {

    @Column(name = "s1")
    private double s1;

    @Column(name = "s2")
    private double s2;

    @Column(name = "r1")
    private double r1;

    @Column(name = "r2")
    private double r2;

    @Column(name = "SName", tag = true)
    private String SName;

    @Column(name = "time", timestamp = true)
    private Instant time;

}
